-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waf update #421
Waf update #421
Conversation
curl -o waf https://waf.io/waf-2.0.17 waflib from waf commit 190555a8d631b387323e7d7d3771c56fa1884743
some dependencies (e.g. intltool) might be installed only for python3
data/wscript_build: - removed misleading #!/usr/bin/env python2 - wildcards need ant_glob now wscript: - help is excluded for now. - gnome feature is no longer available in waf. => postinstall_icons and postinstall_scrollkeeper commented out for now. - hamster-time-tracker.schemas is first generated in the build root, and subsequently installed to /etc/gconf/schemas/. The destination can be changed with the new --gconf-dir option. So packagers would use something like ./waf configure build --gconf-dir=%{_sysconfdir}/gconf <...> - gconf schemas are now correctly registered globally with --makefile-install-rule this should reduce the risk of facing issue 265 again ("Tracking settings don't save") - bld.new_task_gen(...) is not available any longer, replaced with bld(...)
License copied on 2019-07-13 from https://waf.io/apidocs/copyright.html Same as the main waf script license header. Checked that this is the New BSD License (3-clause) https://en.wikipedia.org/wiki/BSD_licenses#3-clause as also stated in https://en.wikipedia.org/wiki/Waf#License
manage_gconf_schemas and update_icon_cache otherwise appeared as valid commands in ./waf --help.
Building and installing help pages now work with the new waf version. WIP: doc_commands is not fully exploited yet
Docs and main app have been separated. I'm giving up "allow to build documentation as static html files",
|
Otherwise a spurious /usr/hamster-time-tracker.schemas/hamster-time-tracker.schemas was installed.
Allowed to remove compat15
PYEXECDIR is intended for binary python extensions. PYTHONDIR is guessed by conf.load('python'), if not given
Installation worked on clean openSUSE Leap 15.1, ubuntu 18.04 and 19.04 virtualboxes, but |
Just skip documentation if xml2po is not found.
Done. Feedback would be welcome ! For review, here are the changes except the |
Works for me on Xubuntu 19.04! Including the help pages. Many thanks for all that work! The only glitch I ran into is that I normally use Maybe there is not much feedback because some people (like me) don't know how to go about testing a pull request. This is the way I did it: Before installing I did a |
Thanks for the feedback !
Forcing umask might be disturbing.
Thanks for the "one-shot" command !
That should not happen in principle. Here is a guess. git checkout v2.2.2
./waf configure --prefix=/usr
sudo ./waf uninstall |
Thanks for the tip about umask and My "hamster*" left-overs in /usr may have come from some manual interventions trying to get the docs/yelp working with xfce in various past versions. Uninstall works cleanly now. Thanks also for the improvements in the documentation about Contributing. Super. |
That is quite surprising, as > ( umask 0002 && sudo bash -c umask; )
0022 Trying to understand, I found this very interesting answer about default umask in ubuntu. |
Based on this, sudo usually is sensitive to the user's umask. My solution is not very elegant but it protects against an overly restrictive umask. Now I've added these lines to /etc/sudoers so I personally won't have the problem anymore: |
Thanks for the link, this makes sense now. # thanks to the parentheses the umask of your shell will not be changed
( umask 0022 && sudo ./waf install; ) The Finally, it happens that the instructions are not exactly copy/pasted anyway. Traceback (most recent call last):
File "/usr/bin/hamster", line 30, in <module>
from hamster import client, reports
ImportError: cannot import name 'client' from 'hamster' (unknown location) |
Thanks again for the feedback Gerald ! |
A big step. Yahoo! |
This is a PR for the waf update (issue #399).
Need to (at least):
dbus-binding-tool
?yelp
usr
conf.define
(get rid ofcompat15
)NEWS